package com.eng.carro.services;

import com.eng.carro.entities.User;

public class UserInfo {
  
  private static UserInfo userInfo;
  
  private UserInfo(){
  }
  
  public static UserInfo getInstance() {
	if ( userInfo == null ) {
	  userInfo = new UserInfo();
	}
	
	return userInfo;
  }
  
  private User currentUser;

  public User getCurrentUser() {
    return currentUser;
  }

  public void setCurrentUser(User currentUser) {
    this.currentUser = currentUser;
  }
}
